package com.lwp.project.third;

import com.lwp.mybatis.spring.boot.starter.autoconfigure.annotation.EnableMapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * <p></p>
 * <p>
 * Copyright:YLZinfo 2017 cop. ltd.
 * Company:厦门易联众易方科技有限公司
 *
 * @author linwp
 * Date 2018/3/29
 */
@Configuration
@EnableAutoConfiguration
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.lwp.project.third.rest.core",
        "com.lwp.project.third.rest.module",
        "com.lwp.project.third.provider.core",
        "com.lwp.project.third.provider.module"}
)
@EnableMapperScan
public class ThirdRestApplication {
    public static void main(String[] args) {
        SpringApplication.run(ThirdRestApplication.class, args);
    }
}
